package com.sdp.right.excel.importExcel;

import java.util.List;

import com.alibaba.excel.context.AnalysisContext;
import com.sdp.right.entity.SysImportTemplateDetail;

public interface ImportExcelRowCallbackService {

	/**
	 * 
	 * @param data 数据
	 * @param templateDetailList 模板
	 */
//	public String execute(Map<Integer, String> data, List<SysImportTemplateDetail> templateDetailList,AnalysisContext context);
	
	<T> void execute(T rowData, List<T> insertList, List<T> updateList, List<SysImportTemplateDetail> templateDetailList, AnalysisContext context);
	
	<T>void executeBatch(List<T> rowDataList, List<T> insertList, List<T> updateList, List<SysImportTemplateDetail> templateDetailList, AnalysisContext context);
}
